﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.HtmlControls;

using CE.Global;

public partial class partners_partners : MyLanguageBasePage
{
    protected override void InitializeCulture()
    {
        String selectedCulture = CE.Global.General.SetCulture();
        base.InitializeCulture();
    }

    protected void Page_Load(object sender, EventArgs e)
    {
        Master.Page.Title = Resources.Provider.GGPartners;

        LiteralControl newln = new LiteralControl(Environment.NewLine);
        HtmlMeta language = new HtmlMeta();
        language.Name = "language";
        language.Content = Resources.Title.PageLanguage;

        HtmlMeta keywords = new HtmlMeta();
        keywords.Name = "keywords";
        keywords.Content = Resources.CarInsurance.ProviderCompany;

        HtmlMeta description = new HtmlMeta();
        description.Name = "description";
        description.Content = Resources.Home.Insurancepartners;

        Page.Header.Controls.AddAt(10, new LiteralControl(Environment.NewLine));
        Page.Header.Controls.AddAt(11, language);
        Page.Header.Controls.AddAt(12, new LiteralControl(Environment.NewLine));
        Page.Header.Controls.AddAt(13, keywords);
        Page.Header.Controls.AddAt(14, new LiteralControl(Environment.NewLine));
        Page.Header.Controls.AddAt(15, description);
        if (!IsPostBack)
        {
            hplAig.NavigateUrl = CE.Global.General.GetUrl("/partners/aig-insurance", Page);
            hplAZCP.NavigateUrl = CE.Global.General.GetUrl("/partners/azcp-insurance", Page);
            hplAsset.NavigateUrl = CE.Global.General.GetUrl("/partners/asset-insurance", Page);
            hplAXA.NavigateUrl = CE.Global.General.GetUrl("/partners/axa-insurance", Page);
            hplBKI.NavigateUrl = CE.Global.General.GetUrl("/partners/bki-insurance", Page);
            hplDeves.NavigateUrl = CE.Global.General.GetUrl("/partners/deves-insurance", Page);
            hplDhipaya.NavigateUrl = CE.Global.General.GetUrl("/partners/dhipaya-insurance", Page);
            hplKrungthai.NavigateUrl = CE.Global.General.GetUrl("/partners/krungthai-insurance", Page);
            hplKSK.NavigateUrl = CE.Global.General.GetUrl("/partners/ksk-insurance", Page);
            hplLMG.NavigateUrl = CE.Global.General.GetUrl("/partners/lmg-insurance", Page);
            hplMittare.NavigateUrl = CE.Global.General.GetUrl("/partners/mittare-insurance", Page);
            hplMSIG.NavigateUrl = CE.Global.General.GetUrl("/partners/msig-insurance", Page);
            hplMTI.NavigateUrl = CE.Global.General.GetUrl("/partners/muangthai-insurance", Page);
            hplSCSMG.NavigateUrl = CE.Global.General.GetUrl("/partners/scsmg-insurance", Page);
            hplSMK.NavigateUrl = CE.Global.General.GetUrl("/partners/synmunkong-insurance", Page);
            hplTPB.NavigateUrl = CE.Global.General.GetUrl("/partners/thaipaiboon-insurance", Page);
            hplThaiSri.NavigateUrl = CE.Global.General.GetUrl("/partners/thaisri-insurance", Page);
            hplThaivivat.NavigateUrl = CE.Global.General.GetUrl("/partners/thaivivat-insurance", Page);
            hplTMS.NavigateUrl = CE.Global.General.GetUrl("/partners/tokio-insurance", Page);
            hplViriyah.NavigateUrl = CE.Global.General.GetUrl("/partners/viriyah-insurance", Page);


            aAig.HRef = CE.Global.General.GetUrl("/partners/aig-insurance", Page);
            aAZCP.HRef = CE.Global.General.GetUrl("/partners/azcp-insurance", Page);
            aAsset.HRef = CE.Global.General.GetUrl("/partners/asset-insurance", Page);
            aAXA.HRef = CE.Global.General.GetUrl("/partners/axa-insurance", Page);
            aBKI.HRef = CE.Global.General.GetUrl("/partners/bki-insurance", Page);
            aDeves.HRef = CE.Global.General.GetUrl("/partners/deves-insurance", Page);
            aDhipaya.HRef = CE.Global.General.GetUrl("/partners/dhipaya-insurance", Page);
            aKrungthai.HRef = CE.Global.General.GetUrl("/partners/krungthai-insurance", Page);
            aKSK.HRef = CE.Global.General.GetUrl("/partners/ksk-insurance", Page);
            aLMG.HRef = CE.Global.General.GetUrl("/partners/lmg-insurance", Page);
            aMittare.HRef = CE.Global.General.GetUrl("/partners/mittare-insurance", Page);
            aMSIG.HRef = CE.Global.General.GetUrl("/partners/msig-insurance", Page);
            aMTI.HRef = CE.Global.General.GetUrl("/partners/muangthai-insurance", Page);
            aSCSMG.HRef = CE.Global.General.GetUrl("/partners/scsmg-insurance", Page);
            aSMK.HRef = CE.Global.General.GetUrl("/partners/synmunkong-insurance", Page);
            aTPB.HRef = CE.Global.General.GetUrl("/partners/thaipaiboon-insurance", Page);
            aThaiSri.HRef = CE.Global.General.GetUrl("/partners/thaisri-insurance", Page);
            aThaivivat.HRef = CE.Global.General.GetUrl("/partners/thaivivat-insurance", Page);
            aTMS.HRef = CE.Global.General.GetUrl("/partners/tokio-insurance", Page);
            aViriyah.HRef = CE.Global.General.GetUrl("/partners/viriyah-insurance", Page);
        }

    }
}
